home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2005 September / CyberMycha 09-2005 (Poland).bin / Setup / Data / Menu / scr / ChoosePlayer.scr < prev    next >
Encoding:
Text File  |  2002-06-06  |  16.9 KB  |  515 lines

  1. /** * * * * * * * * * * * * * * * * * * * * * * * * *
  2. *                                                   *
  3. *  User Interface Script - generated by UI Editor   *
  4. *                                                   *
  5. * * * * * * * * * * * * * * * * * * * * * * * * * * */
  6.  
  7. //------ Key declarations --------------------------
  8. !LoadIncluded(s)
  9. !Included()
  10. !Interface(s)
  11. !Window(s,s,s)
  12. !Static(s,s,s)
  13. !ControlObject(s,s,s)
  14. !Button(s,s,s,s)
  15. !Edit(s,s,s,s)
  16. !Menu(s,s,s)
  17. !Id(s)
  18. !LogicSize(f,f)
  19. !LogicPos(f,f)
  20. !Mouse(i)
  21. !Keyboard(i)
  22. !Joy(i)
  23. !Visible(i)
  24. !Texture(s)
  25. !TextureRect(s,f,f,f,f,f,f)
  26. !EditTexture(s)
  27. !FrameCornerSize(i,i)
  28. !Cursor(s)
  29. !CursorVisible(i)
  30. !EditBorderWidth(f)
  31. !EditBorderSens(f)
  32. !EditState(i)
  33. !EditCursorSize(s)
  34. !EditStateOnInit(i)
  35. !EditCursorMove(s)
  36. !Text(s)
  37. !TextColor(f,f,f)
  38. !TextPosFlags(i)
  39. !Font(s)
  40. !Command(i)
  41. !Notify(i)
  42. !SelKeyUp(i)
  43. !SelKeyDown(i)
  44. !FocusSound(s)
  45. !TextureHightlight(s)
  46. !TextureHightlightRect(s,f,f,f,f,f,f)
  47. !TextHighLightColor(f,f,f)
  48. !CanFocus(i)
  49. !TextureChecked(s)
  50. !TextureCheckedRect(s,f,f,f,f,f,f)
  51. !TextureDisabled(s)
  52. !TextureDisabledRect(s,f,f,f,f,f,f)
  53. !TextureHightlightCheck(s)
  54. !TextureHightlightCheckRect(s,f,f,f,f,f,f)
  55. !TextDisableColor(f,f,f)
  56. !TextCheckedColor(f,f,f)
  57. !TextHighLightCheckColor(f,f,f)
  58. !Checked(i)
  59. !Disabled(i)
  60. !CanCallPress(i)
  61. !CanCheck(i)
  62. !CallPressPeriod(f)
  63. !DoubleClick(f)
  64. !MouseLeaveDestroyFocus(i)
  65. !CheckSound(s)
  66. !MenuButton(s,s,s,s,s)
  67. !TextureEdit(s)
  68. !TextEditColor(f,f,f)
  69. !ParentPositioning(i)
  70. !ParentCenteringX(i)
  71. !ParentCenteringY(i)
  72. !ListBoxCapacity(i)
  73.  
  74. //------ UI stuff -----------------------------
  75. Interface("UI_CHOOSE_PLAYER")
  76. {
  77.    Command(1)
  78.    Notify(1)
  79.    CanFocus(1)
  80.    SelKeyUp(-1)
  81.    SelKeyDown(0)
  82.    Text("")
  83.    TextColor(1.0,1.0,1.0)
  84.    Font("MSSansSerif10")
  85.    TextPosFlags(34)
  86.    LogicSize(1.0,1.0)
  87.    LogicPos(0.0,0.0)
  88.    Mouse(1)
  89.    Keyboard(1)
  90.    Joy(0)
  91.    Visible(1)
  92.    CursorVisible(1)
  93.    ParentPositioning(1)
  94.    ParentCenteringX(0)
  95.    ParentCenteringY(0)
  96.    Cursor("data/textures/cursors/cursor.png")
  97.    EditBorderWidth(2.0)
  98.    EditBorderSens(15.0)
  99.    ControlObject("UIControlObject","ID_FRAME","Specific")
  100.    {
  101.       Command(1)
  102.       Notify(1)
  103.       CanFocus(0)
  104.       SelKeyUp(200)
  105.       SelKeyDown(208)
  106.       Text("&&MenuChoosePlayerFrame&&")
  107.       TextColor(1.0,1.0,1.0)
  108.       Font("FLJazz32")
  109.       TextPosFlags(33)
  110.       LogicSize(0.41375,0.725)
  111.       LogicPos(0.02875,0.23166661)
  112.       Mouse(1)
  113.       Keyboard(1)
  114.       Joy(0)
  115.       Visible(1)
  116.       CursorVisible(1)
  117.       ParentPositioning(1)
  118.       ParentCenteringX(1)
  119.       ParentCenteringY(0)
  120.       FrameCornerSize(25,30)
  121.       TextureRect("data/menu/p_menu.png",1024.0,1024.0,262.0,601.0,585.0,921.0)
  122.       EditTexture("data/interface/er_t_red.png")
  123.       EditBorderWidth(2.0)
  124.       EditBorderSens(15.0)
  125.       EditCursorSize("data/interface/c_resize.png")
  126.       EditCursorMove("data/interface/c_move.png")
  127.       Button("UIButtonFlying","ID_OK","&&MenuOK&&","Specific")
  128.       {
  129.          Checked(0)
  130.          Disabled(0)
  131.          CanCallPress(0)
  132.          CanCheck(0)
  133.          MouseLeaveDestroyFocus(1)
  134.          TextureCheckedRect("data/menu/p_menu.png",1024.0,1024.0,203.0,946.0,402.0,992.0)
  135.          TextureDisabledRect("data/menu/p_menu.png",1024.0,1024.0,1.0,946.0,200.0,992.0)
  136.          TextDisableColor(0.5019608,0.5019608,0.5019608)
  137.          CallPressPeriod(0.1)
  138.          DoubleClick(0.3)
  139.          Command(1)
  140.          Notify(1)
  141.          CanFocus(1)
  142.          SelKeyUp(0)
  143.          SelKeyDown(0)
  144.          FocusSound("data/sounds/focus.wav")
  145.          Text("&&MenuOK&&")
  146.          TextColor(1.0,1.0,1.0)
  147.          Font("FLJazz32")
  148.          TextPosFlags(34)
  149.          LogicSize(0.24875,0.08)
  150.          LogicPos(0.0,0.6862976)
  151.          Mouse(1)
  152.          Keyboard(1)
  153.          Joy(0)
  154.          Visible(1)
  155.          CursorVisible(1)
  156.          ParentPositioning(1)
  157.          ParentCenteringX(1)
  158.          ParentCenteringY(0)
  159.          TextureRect("data/menu/p_menu.png",1024.0,1024.0,801.0,1.0,1000.0,47.0)
  160.          EditTexture("red")
  161.          EditBorderWidth(2.0)
  162.          EditBorderSens(15.0)
  163.          EditCursorSize("c_resize.png")
  164.          EditCursorMove("c_move.png")
  165.          CheckSound("data/sounds/click")
  166.          FocusSound("data/sounds/highlight")
  167.       }
  168.       Button("UIButtonFlying","ID_DELETE","&&MenuChoosePlayerDelete&&","Specific")
  169.       {
  170.          Checked(0)
  171.          Disabled(0)
  172.          CanCallPress(0)
  173.          CanCheck(0)
  174.          MouseLeaveDestroyFocus(1)
  175.          TextureCheckedRect("data/menu/p_menu.png",1024.0,1024.0,203.0,946.0,402.0,992.0)
  176.          TextureDisabledRect("data/menu/p_menu.png",1024.0,1024.0,1.0,946.0,200.0,992.0)
  177.          TextDisableColor(0.5019608,0.5019608,0.5019608)
  178.          CallPressPeriod(0.1)
  179.          DoubleClick(0.3)
  180.          Command(1)
  181.          Notify(1)
  182.          CanFocus(1)
  183.          SelKeyUp(0)
  184.          SelKeyDown(0)
  185.          FocusSound("data/sounds/focus.wav")
  186.          Text("&&MenuChoosePlayerDelete&&")
  187.          TextColor(1.0,1.0,1.0)
  188.          Font("FLJazz32")
  189.          TextPosFlags(34)
  190.          LogicSize(0.24875,0.08)
  191.          LogicPos(0.0,0.81848156)
  192.          Mouse(1)
  193.          Keyboard(1)
  194.          Joy(0)
  195.          Visible(1)
  196.          CursorVisible(1)
  197.          ParentPositioning(1)
  198.          ParentCenteringX(1)
  199.          ParentCenteringY(0)
  200.          TextureRect("data/menu/p_menu.png",1024.0,1024.0,801.0,1.0,1000.0,47.0)
  201.          EditTexture("red")
  202.          EditBorderWidth(2.0)
  203.          EditBorderSens(15.0)
  204.          EditCursorSize("c_resize.png")
  205.          EditCursorMove("c_move.png")
  206.          CheckSound("data/sounds/click")
  207.          FocusSound("data/sounds/highlight")
  208.       }
  209.       Static("UIStatic","ID_PLAYER","Specific")
  210.       {
  211.          Text("&&MenuChoosePlayerEnterName&&")
  212.          TextColor(1.0,1.0,1.0)
  213.          Font("FLRoman21")
  214.          TextPosFlags(33)
  215.          LogicSize(0.34375,0.4116667)
  216.          LogicPos(0.10000002,0.11494253)
  217.          Mouse(1)
  218.          Keyboard(1)
  219.          Joy(0)
  220.          Visible(1)
  221.          CursorVisible(1)
  222.          ParentPositioning(1)
  223.          ParentCenteringX(1)
  224.          ParentCenteringY(0)
  225.          //Texture("er_t_Blue.png")
  226.          EditTexture("data/interface/er_t_red.png")
  227.          EditBorderWidth(2.0)
  228.          EditBorderSens(15.0)
  229.          EditCursorSize("data/interface/c_resize.png")
  230.          EditCursorMove("data/interface/c_move.png")
  231.          ControlObject("UIListBox","ID_LISTBOX","Specific")
  232.          {
  233.             ListBoxCapacity(5)
  234.             Command(1)
  235.             Notify(1)
  236.             CanFocus(1)
  237.             SelKeyUp(0)
  238.             SelKeyDown(0)
  239.             Text("")
  240.             TextColor(1.0,1.0,1.0)
  241.             Font("MSSansSerif10")
  242.             TextPosFlags(34)
  243.             LogicSize(0.26375002,0.26666668)
  244.             LogicPos(0.17454545,0.3212175)
  245.             Mouse(1)
  246.             Keyboard(1)
  247.             Joy(0)
  248.             Visible(1)
  249.             CursorVisible(1)
  250.             ParentPositioning(1)
  251.             ParentCenteringX(0)
  252.             ParentCenteringY(0)
  253.             EditTexture("data/interface/er_t_red.png")
  254.             EditBorderWidth(2.0)
  255.             EditBorderSens(15.0)
  256.             EditCursorSize("data/interface/c_resize.png")
  257.             EditCursorMove("data/interface/c_move.png")
  258.             Menu("UIMenu","ID_LIST","Specific")
  259.             {
  260.                Command(1)
  261.                Notify(1)
  262.                CanFocus(1)
  263.                SelKeyUp(0)
  264.                SelKeyDown(0)
  265.                Text("")
  266.                TextColor(1.0,1.0,1.0)
  267.                Font("MSSansSerif10")
  268.                TextPosFlags(34)
  269.                LogicSize(0.22375003,0.26666668)
  270.                LogicPos(0.0,0.0)
  271.                Mouse(1)
  272.                Keyboard(1)
  273.                Joy(0)
  274.                Visible(1)
  275.                CursorVisible(1)
  276.                ParentPositioning(1)
  277.                ParentCenteringX(0)
  278.                ParentCenteringY(1)
  279.                FrameCornerSize(3,3)
  280.                TextureRect("p_menu.png",1024.0,1024.0,943.0,50.0,950.0,57.0)
  281.                EditTexture("data/interface/er_t_red.png")
  282.                EditBorderWidth(2.0)
  283.                EditBorderSens(15.0)
  284.                EditCursorSize("data/interface/c_resize.png")
  285.                EditCursorMove("data/interface/c_move.png")
  286.                MenuButton("UIMenuButton","ID_BUTTON","","Standard","Specific")
  287.                {
  288.                   Checked(0)
  289.                   Disabled(0)
  290.                   CanCallPress(0)
  291.                   CanCheck(1)
  292.                   MouseLeaveDestroyFocus(1)
  293.                   TextureCheckedRect("p_menu.png",1024.0,1024.0,952.0,50.0,959.0,57.0)
  294.                   TextCheckedColor(1.0,1.0,1.0)
  295.                   CallPressPeriod(0.1)
  296.                   DoubleClick(0.3)
  297.                   Command(1)
  298.                   Notify(0)
  299.                   CanFocus(0)
  300.                   TextHighLightColor(1.0,1.0,1.0)
  301.                   SelKeyUp(0)
  302.                   SelKeyDown(0)
  303.                   Text("")
  304.                   TextColor(1.0,1.0,1.0)
  305.                   Font("FLRoman21")
  306.                   TextPosFlags(34)
  307.                   LogicSize(0.22375003,0.053333335)
  308.                   LogicPos(0.0,0.0)
  309.                   Mouse(1)
  310.                   Keyboard(1)
  311.                   Joy(0)
  312.                   Visible(0)
  313.                   CursorVisible(1)
  314.                   ParentPositioning(1)
  315.                   ParentCenteringX(0)
  316.                   ParentCenteringY(0)
  317.                   FrameCornerSize(3,3)
  318.                   EditTexture("data/interface/er_t_red.png")
  319.                   EditBorderWidth(2.0)
  320.                   EditBorderSens(15.0)
  321.                   EditCursorSize("data/interface/c_resize.png")
  322.                   EditCursorMove("data/interface/c_move.png")
  323.               CheckSound("data/sounds/click")
  324.               FocusSound("data/sounds/highlight")
  325.                }
  326.             }
  327.             ControlObject("UIControlObject","ID_SCROLL","Specific")
  328.             {
  329.                Command(1)
  330.                Notify(1)
  331.                CanFocus(0)
  332.                SelKeyUp(0)
  333.                SelKeyDown(0)
  334.                Text("")
  335.                TextColor(1.0,1.0,1.0)
  336.                Font("MSSansSerif10")
  337.                TextPosFlags(34)
  338.                LogicSize(0.04,0.26666668)
  339.                LogicPos(0.84834117,0.0)
  340.                Mouse(1)
  341.                Keyboard(1)
  342.                Joy(0)
  343.                Visible(1)
  344.                CursorVisible(1)
  345.                ParentPositioning(1)
  346.                ParentCenteringX(0)
  347.                ParentCenteringY(1)
  348.                EditTexture("data/interface/er_t_red.png")
  349.                EditBorderWidth(2.0)
  350.                EditBorderSens(15.0)
  351.                EditCursorSize("data/interface/c_resize.png")
  352.                EditCursorMove("data/interface/c_move.png")
  353.                Button("UIButtonFlying","ID_UP","+","Specific")
  354.                {
  355.                   Checked(0)
  356.                   Disabled(0)
  357.                   CanCallPress(0)
  358.                   CanCheck(0)
  359.                   MouseLeaveDestroyFocus(1)
  360.                   TextureCheckedRect("p_menu.png",1024.0,1024.0,442.0,956.0,473.0,994.0)
  361.                   CallPressPeriod(0.1)
  362.                   DoubleClick(0.3)
  363.                   Command(1)
  364.                   Notify(1)
  365.                   CanFocus(1)
  366.                   SelKeyUp(0)
  367.                   SelKeyDown(0)
  368.                   Text("+")
  369.                   TextColor(1.0,1.0,1.0)
  370.                   Font("FLJazz32")
  371.                   TextPosFlags(34)
  372.                   LogicSize(0.04,0.06333333)
  373.                   LogicPos(0.0,0.0)
  374.                   Mouse(1)
  375.                   Keyboard(1)
  376.                   Joy(0)
  377.                   Visible(1)
  378.                   CursorVisible(1)
  379.                   ParentPositioning(1)
  380.                   ParentCenteringX(1)
  381.                   ParentCenteringY(0)
  382.                   TextureRect("p_menu.png",1024.0,1024.0,838.0,50.0,869.0,88.0)
  383.                   EditTexture("data/interface/er_t_red.png")
  384.                   EditBorderWidth(2.0)
  385.                   EditBorderSens(15.0)
  386.                   EditCursorSize("data/interface/c_resize.png")
  387.                   EditCursorMove("data/interface/c_move.png")
  388.                   CheckSound("data/sounds/click")
  389.                   FocusSound("data/sounds/highlight")
  390.                   CheckSound("data/sounds/click")
  391.                   FocusSound("data/sounds/highlight")
  392.                }
  393.                Button("UIButton","ID_THUMB","","Specific")
  394.                {
  395.                   Checked(0)
  396.                   Disabled(0)
  397.                   CanCallPress(0)
  398.                   CanCheck(0)
  399.                   MouseLeaveDestroyFocus(1)
  400.                   CallPressPeriod(0.1)
  401.                   DoubleClick(0.3)
  402.                   Command(1)
  403.                   Notify(1)
  404.                   CanFocus(0)
  405.                   SelKeyUp(0)
  406.                   SelKeyDown(0)
  407.                   Text("")
  408.                   TextColor(1.0,1.0,1.0)
  409.                   Font("MSSansSerif10")
  410.                   TextPosFlags(34)
  411.                   LogicSize(0.025,0.038333334)
  412.                   LogicPos(0.0,0.23749998)
  413.                   Mouse(1)
  414.                   Keyboard(1)
  415.                   Joy(0)
  416.                   Visible(1)
  417.                   CursorVisible(1)
  418.                   ParentPositioning(1)
  419.                   ParentCenteringX(1)
  420.                   ParentCenteringY(0)
  421.                   TextureRect("p_menu.png",1024.0,1024.0,885.0,438.0,905.0,469.0)
  422.                   EditTexture("data/interface/er_t_red.png")
  423.                   EditBorderWidth(2.0)
  424.                   EditBorderSens(15.0)
  425.                   EditCursorSize("data/interface/c_resize.png")
  426.                   EditCursorMove("data/interface/c_move.png")
  427.                   CheckSound("data/sounds/click")
  428.                   FocusSound("data/sounds/highlight")
  429.                }
  430.                Button("UIButtonFlying","ID_DOWN","=","Specific")
  431.                {
  432.                   Checked(0)
  433.                   Disabled(0)
  434.                   CanCallPress(0)
  435.                   CanCheck(0)
  436.                   MouseLeaveDestroyFocus(1)
  437.                   TextureCheckedRect("p_menu.png",1024.0,1024.0,476.0,956.0,507.0,994.0)
  438.                   CallPressPeriod(0.1)
  439.                   DoubleClick(0.3)
  440.                   Command(1)
  441.                   Notify(1)
  442.                   CanFocus(1)
  443.                   SelKeyUp(0)
  444.                   SelKeyDown(0)
  445.                   Text("=")
  446.                   TextColor(1.0,1.0,1.0)
  447.                   Font("FLJazz32")
  448.                   TextPosFlags(34)
  449.                   LogicSize(0.04,0.06333333)
  450.                   LogicPos(0.0,0.7625001)
  451.                   Mouse(1)
  452.                   Keyboard(1)
  453.                   Joy(0)
  454.                   Visible(1)
  455.                   CursorVisible(1)
  456.                   ParentPositioning(1)
  457.                   ParentCenteringX(1)
  458.                   ParentCenteringY(0)
  459.                   TextureRect("p_menu.png",1024.0,1024.0,872.0,50.0,903.0,88.0)
  460.                   EditTexture("data/interface/er_t_red.png")
  461.                   EditBorderWidth(2.0)
  462.                   EditBorderSens(15.0)
  463.                   EditCursorSize("data/interface/c_resize.png")
  464.                   EditCursorMove("data/interface/c_move.png")
  465.                   CheckSound("data/sounds/click")
  466.                   FocusSound("data/sounds/highlight")
  467.                }
  468.             }
  469.          }
  470.          Button("UIEdit","ID_EDIT","","Specific")
  471.          {
  472.             Checked(0)
  473.             Disabled(0)
  474.             CanCallPress(0)
  475.             CanCheck(1)
  476.             MouseLeaveDestroyFocus(1)
  477.             TextureCheckedRect("p_menu.png",1024.0,1024.0,952.0,50.0,959.0,57.0)
  478.             //TextureCheckedRect("p_menu.png",1024.0,1024.0,943.0,50.0,950.0,57.0)
  479.             TextCheckedColor(1.0,1.0,1.0)
  480.             CallPressPeriod(0.1)
  481.             DoubleClick(0.3)
  482.             Command(1)
  483.             Notify(1)
  484.             CanFocus(0)
  485.             TextHighLightColor(1.0,1.0,1.0)
  486.             SelKeyUp(0)
  487.             SelKeyDown(0)
  488.             Text("")
  489.             TextColor(1.0,1.0,1.0)
  490.             Font("FLRoman21")
  491.             TextPosFlags(34)
  492.             LogicSize(0.22375003,0.055)
  493.             LogicPos(0.18126887,0.14442955)
  494.             Mouse(1)
  495.             Keyboard(1)
  496.             Joy(0)
  497.             Visible(1)
  498.             CursorVisible(1)
  499.             ParentPositioning(1)
  500.             ParentCenteringX(1)
  501.             ParentCenteringY(0)
  502.             FrameCornerSize(3,3)
  503.             TextureRect("p_menu.png",1024.0,1024.0,943.0,50.0,950.0,57.0)
  504.             EditTexture("data/interface/er_t_red.png")
  505.             EditBorderWidth(2.0)
  506.             EditBorderSens(15.0)
  507.             EditCursorSize("data/interface/c_resize.png")
  508.             EditCursorMove("data/interface/c_move.png")
  509.             CheckSound("data/sounds/click")
  510.             FocusSound("data/sounds/highlight")
  511.          }
  512.       }
  513.    }
  514. }
  515.